#include <stdio.h>
int main()
{
	int l,h,s;
	scanf("%d%d%d",&l,&h,&s);
	for(int i=l;i<=h;printf("%3d%7.1lf\n",i,(((double)i)-32)*5/9),i+=s);
 	return 0;
}